<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="UTF-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<meta http-equiv="X-UA-Compatible" content="ie=edge" />
	<title>route</title>
	
	<script src="route.js" type="text/javascript" charset="utf-8"></script>
	<script src="index.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
	<h1>通过location.hash+hashchange事件实现路由的示例</h1>
	<div>route list:</div>
	<ol>
		<li><a href="#/">#/</a></li>
		<li><a href="#/orange">#/orange</a></li>
		<li><a href="#/pink">#/pink</a></li>
		<li><a href="#/colorful-font">#/colorful-font</a></li>
	</ol>
</body>
</html>